import _fetch from '@/utils/axios-request.js'

//获取题库数据
function getQuestionInfo(params) {
    return _fetch({
        url:'/question/list',
        method:'get',
        params
    }) 
 }

 // 状态修改
function setQuestion(data) {
    return _fetch({
     url:'/question/status',
     method:'post',
     data
    })
}
// 删除数据
function delQuestion(data) {
    return _fetch({
     url:'/question/remove',
     method:'post',
     data
    })
}
 export { getQuestionInfo, setQuestion ,delQuestion}